using Framework;
using System;



namespace Game
{
    public class PlayerManager : FrameworkModule
    {
        public long PlayerId { get; set; }
        public PlayerEntity MainPlayer { get; private set; }

        public void InitMainPlayer(PlayerInfo playerInfo)
        {
            this.MainPlayer = PlayerEntity.CreateEntity<PlayerEntity>();
            this.MainPlayer.RefreshName(playerInfo.Name);
        }
    }
}